/*
 * NetworkChannel.cpp
 *
 *  Created on: Nov 28, 2014
 *      Author: toti
 */

#include <Network/NetworkChannel.hpp>

NetworkChannel::NetworkChannel(){

	channelName = "";
	channelOwner = 0;
	topic = "none";

}


std::string& NetworkChannel::getChannelName(){
	return channelName;
}

void NetworkChannel::setChannelName(std::string &channelName){
	this->channelName = channelName;
}


NetworkClient *NetworkChannel::getChannelOwner(){
	return channelOwner;
}

void NetworkChannel::setChannelOwner(NetworkClient *channelOwner){
	this->channelOwner = channelOwner;
}

std::string& NetworkChannel::getTopic(){
	return topic;
}

void NetworkChannel::setTopic(std::string &topic){
	this->topic = topic;
}

